AmpProject\AmpWP\PluginSuppression A

Total Complexity 61
Dependencies 11
Dependents 1
Total lines 493
Lines of code 256
Logical lines of code 130
Comment lines 171
Methods 18
Properties 4

Methods 18

Method Rating Maintainability Complexity Lines of code
sanitize_options()
A
50 10 27
suppress_blocks()
S
53 7 23
get_sorted_plugin_validation_errors()
S
44 5 47
suppress_hooks()
S
60 5 13
suppress_widgets()
S
56 4 19
filter_plugin_row_meta()
S
58 3 16
prepare_suppressed_plugins_for_response()
S
59 3 16
register()
S
57 2 17
suppress_shortcodes()
S
67 3 8
initialize()
S
66 3 8
is_reader_theme_request()
S
66 3 9
is_callback_plugin_suppressed()
S
66 3 8
suppress_plugins()
S
62 2 12
get_suppressible_plugins_with_details()
S
67 2 8
prepare_user_for_response()
S
64 2 10
maybe_suppress_plugins()
S
72 2 6
filter_default_options()
S
77 1 4
__construct()
S
74 1 5